#define _CRT_SECURE_NO_WARNINGS 1
#include"priority_queue.h"

void test1()
{
	vector<int> v1 = { 1,2,6,7,8,3,4,5 };
	tom::priority_queue<int> pq;
	for (auto v : v1)
	{
		pq.push(v);
	}
	pq.push(1);
	pq.push(11);
	while (!pq.empty())
	{
		cout << pq.top()<<' ';
		pq.pop();
	}
	cout << endl;
}
int main()
{
	test1();
	return 0;
}